<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    div {
        width: 300px;
        border: 15px solid red;
        border-image-source: url(./images/border.png);
        border-width: .6375rem .475rem .25rem 1.65rem ;
        border-image-slice: 51 38 20 132;
    }
</style>

<body>
    <div>123</div>
</body>

</html>